package cn.aylog.normal;


import java.util.*;

/**
 * 集合注入
 */
public class ListSetter {
    private List<String> list = new ArrayList<>();
    private Map<String, String> map = new HashMap<>();
    private Set<String> set = new HashSet<>();
    private Properties props = new Properties();

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public void setSet(Set<String> set) {
        this.set = set;
    }

    public void setProps(Properties props) {
        this.props = props;
    }

    @Override
    public String toString() {
        return "ListSetter{" +
                "list=" + list +
                ", map=" + map +
                ", set=" + set +
                ", props=" + props +
                '}';
    }
}
